import simplejson

class RouteSvc:
    def index(self, id=False, date=False):
        dict = {'Route':4, 'color':11}
        return simplejson.dumps(dict)

    index.exposed = True


class RoutesSvc:
    def index(self, id=False, date=False):
        dict = {'Routes':4, 'color':11}
        return simplejson.dumps(dict)

    index.exposed = True


def main():
    r = RoutesSvc()
    d = r.index()
    print d

if __name__ == '__main__':
    main()
